blob: 59b4b575ee9a4e9d7690b5b459c0aedbb76b0696 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef GAME_BUILDER_H
#define GAME_BUILDER_H
#include <bu/string.h>
#include "variable.h"
class GameBuilder
{
public:
GameBuilder();
virtual ~GameBuilder();
void setLiteral( const Variable &v );
void setGameParam( const Bu::String &sName );
void beginFunction( const Bu::String &sName );
void endFunction();
void beginSituation( const Bu::String &sName );
void endSituation();
private:
Variable vLiteral;
VariableHash hGameParams;
};
#endif
|